package com.example.auth.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import com.example.util.model.PrivilegeUser;
import com.example.util.model.SecurityLogin;

@FeignClient("auth")
public interface IndexClient {

    @RequestMapping(value = "auth/service/loginName", method = RequestMethod.GET)
    public ResponseEntity<PrivilegeUser> hello(@RequestBody String loginName);
}
